<!DOCTYPE html>
<!--conf
<sample>
              <product version="4.0b1" edition="std"/>
                     <modifications>
                            <modified date="130911"/>
                     </modifications>
               </sample>
-->
<html>
<head>
	<title>Attach URL</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlx.css"/>
	<script src="../../../codebase/dhtmlx.js"></script>
	
	<script>
		
		var myAcc;
		function doOnLoad() {
			myAcc = new dhtmlXAccordion({
				parent: "accObj",
				items: [
					{id: "a", text: "(a) iframe get"},
					{id: "b", text: "(b) iframe post w/0 params"},
					{id: "c", text: "(c) iframe post with params"}
				]
			});
			
			myAcc.cells("a").attachURL("../common/test_page_1.html");
			myAcc.cells("b").attachURL("../common/test_page_2.html", null, true);
			myAcc.cells("c").attachURL("../common/test_page_3.html", null, {"name":"John","age":28});
		}
		
	</script>
	
</head>
<body onload="doOnLoad();">
	<div id="accObj" style="width:320px; height:400px;"></div>
</body>
</html>
